import com.ruoyi.personal.ws.DateEndpoint;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

public class Websocket {


    @Autowired
    DateEndpoint dateEndpoint;

    @Test
    public void test() {

        dateEndpoint.sendMessageToUser("EChartsSpend","恭喜你连接成功");



    }

}
